public class Test10 {
        public static void main(String[] args) {
            char[] s = {'序','顺','符','字','组','数','倒','颠'};
            // TODO 使用循环将数组中字符的顺序完成反转\
            char[] temp = new char[8];
            for (int j = 0; j <s.length-1 ; j++) {
                for (int i = s.length-1; i >= 0 ; i--) {
                char s1 =s[i];
                temp[j] = s1;
                j++;
            }
            }
            for (int i = 0; i < temp.length; i++) {
                s[i] = temp[i];
            }
            System.out.println(s);


        }
    }


